<?php
use yii\helpers\Html;
use yii\widgets\ListView;

/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = Yii::t('debug', 'Backend Modules');
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="backend-module-index">

    <h1><?= Html::encode($this->title) ?></h1>

    <?= ListView::widget([
        'dataProvider' => $dataProvider,
        'itemView' => '_items',
        'layout'=>'<div><table class="table table-striped table-bordered">
                    <tr>
                    <th>#</th>
                    <th>ID</th>
                    <th>'.Yii::t('debug','Name').'</th>
                    <th>'.Yii::t('debug','Description').'</th>
                    <th>'.Yii::t('debug','Status').'</th>
                    <th>'.Yii::t('debug','Action').'</th>
                    </tr>
                    {items}</table></div><div>{pager}</div>',
        'pager'=>[
            'maxButtonCount'=>10,
            'nextPageLabel'=>Yii::t('app','>>'),
            'prevPageLabel'=>Yii::t('app','<<'),
        ],
    ]); ?>
</div>
